package com.dolojia.javafxboot.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dolojia.javafxboot.model.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Admin
 * @since 2019-11-09
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from sys_user t where t.username = #{username}")
    User getUser(String username);

}
